@echo off

call mvn package -Dmaven.test.skip

set CATALINA_HOME=D:\apache-tomcat-6.0.26

call rmdir %CATALINA_HOME%\webapps\GrouponMall /S /Q

call rmdir %CATALINA_HOME%\work\Catalina\localhost\GrouponMall /S /Q

call copy target\GrouponMall.war %CATALINA_HOME%\webapps\GrouponMall.war /Y
